home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / du.arc / MAKEFILE < prev    next >
Text File  |  1990-10-05  |  1KB  |  58 lines

  1.  
  2. # @(#) Makefile 1.2 90/09/08 14:38:50
  3. # Makefile for "du" (generated by makemake version 1.00.09)
  4. # Created by bin@chinacat on Sat Sep  8 13:59:09 CDT 1990
  5.  
  6. SHELL = /bin/sh
  7. CC = cc
  8. DEFS = 
  9. COPTS = -O
  10. LOPTS = 
  11. LIBS = -lx
  12. DEBUG = -g -DReg=
  13. LINTFLAGS = -DLINT
  14.  
  15. TARG = du
  16. OTHERS = 
  17.  
  18. SRCS = du.c duentry.c fsinfo.c
  19.  
  20. OBJS = du.o duentry.o fsinfo.o
  21.  
  22. # Any edits below this line will be lost if "makemake" is rerun!
  23. # Commands may be inserted after the '#%custom' line at the end of this file.
  24.  
  25. CFLAGS = $(COPTS) $(DEFS) # $(DEBUG)
  26. LFLAGS = $(LOPTS) # $(DEBUG)
  27.  
  28. all:        $(TARG) $(OTHERS)
  29. install:    all        ; inst Install
  30. clean:                ; rm -f $(TARG) $(OBJS) a.out core $(TARG).lint
  31. clobber:    clean        ; inst -u Install
  32. lint:        $(TARG).lint
  33.  
  34. $(TARG):        $(OBJS)
  35.         $(CC) $(LFLAGS) -o $@ $(OBJS) $(LIBS)
  36.  
  37. $(TARG).lint:    $(TARG)
  38.         lint $(LINTFLAGS) $(DEFS) $(SRCS) $(LIBS) > $@
  39.  
  40. du.o: du.c du.h patchlevel.h
  41. duentry.o: du.h duentry.c
  42. fsinfo.o: du.h fsinfo.c
  43.  
  44. make:        ;
  45.         makemake -i -v1.00.09 -aMakefile \
  46.             -DSHELL='$(SHELL)' -DCC='$(CC)' -DDEFS='$(DEFS)' \
  47.             -DCOPTS='$(COPTS)' -DLOPTS='$(LOPTS)' -DLIBS='$(LIBS)' \
  48.             -DDEBUG='$(DEBUG)' -DLINTFLAGS='$(LINTFLAGS)' \
  49.             -DOTHERS='$(OTHERS)' $(TARG) $(SRCS)
  50.  
  51. #%custom - commands below this line will be maintained if 'makemake' is rerun
  52.  
  53. LIST = README du.h patchlevel.h $(SRCS) Makefile du.man ngsizes
  54.  
  55. shar:        du.shar
  56. du.shar:    $(LIST)        ; shar $(LIST) > $@
  57.  
  58.